runtime.writeUserArenaHeapBits.valid (field)
13 uses
runtime (current package)
arena.go#L607: valid uintptr // number of bits in buf that are valid (including low)
arena.go#L624: h.valid = h.low
arena.go#L632: if h.valid+valid <= ptrBits {
arena.go#L634: h.mask |= bits << h.valid
arena.go#L635: h.valid += valid
arena.go#L641: data := h.mask | bits<<h.valid // mask for this word
arena.go#L642: h.mask = bits >> (ptrBits - h.valid) // leftover for next word
arena.go#L643: h.valid += valid - ptrBits // have h.valid+valid bits, writing ptrBits of them
arena.go#L682: zeros := (offset+size-h.offset)/goarch.PtrSize - h.valid
arena.go#L686: z := ptrBits - h.valid
arena.go#L690: h.valid += z
arena.go#L699: if h.valid != h.low {
arena.go#L701: m |= ^(uintptr(1)<<h.valid - 1) // don't clear existing bits above "valid"
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |